package com.yb.mybatis.multi.datasource.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author: yb
 * @date: 2021/12/30 0030 21:17
 */
@ConfigurationProperties(prefix = "mybatis-multi-datasource")
public class MybatisMultiDatasourceProperties {

    private Boolean enabled;

    private String enableDataBaseName;

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public String getEnableDataBaseName() {
        return enableDataBaseName;
    }

    public void setEnableDataBaseName(String enableDataBaseName) {
        this.enableDataBaseName = enableDataBaseName;
    }
}
